package com.szpx.entity;

import lombok.Data;

import javax.persistence.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Table(name="Return")
public class Return {
    private String id;
    private String orderNo;
    private String goodsName;
    private int quantity;
    private String reason;

    // 构造函数
    public Return(String id, String orderNo, String goodsName, int quantity, String reason) {
        this.id = id;
        this.orderNo = orderNo;
        this.goodsName = goodsName;
        this.quantity = quantity;
        this.reason = reason;
    }

    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}

